home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
wb
/
merlin
/
rexx
/
test2.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1999-07-12
|
725b
|
43 lines
/* RUN "rx MCP:rexx/CelsiusToFahrenheit.rexx %n" */
Arg node_number /* node we were run from */
Host = 'MCPREXX.'node_number /* the Trion MCP Arexx port */
Options results
Address value host
options failat 15
/* say "node: "node_number */
if node_number = "" then do
say "error .. rexx script not started with %n on command line"
exit 1
end
/*
SetReg "Reg 6 Value 123"
SetReg "6 123"
Set "Reg 7 Value" 56
Set "Reg 7" 56
GetReg "6"
reg6 = result
Say "Register6="reg6
GetReg "Reg=7"
reg7 = result
Say "Register7="reg7
*/
WriteString "5" 123
EmptyList "6"
exit 0 /* einde programma */
test: /* een functie: 'call test' */
return 0